package cn.cdqf.coupon.dispatch.client;

import cn.cdqf.globle.common.ResultResponse;
import cn.cdqf.globle.param.RabbitMqParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("KJXZ-RABBIT")
public interface RabbitControllerApi {
    @PostMapping(value = "rabbit",produces="application/json;charset=GBK",consumes ="application/json;charset=utf-8" )
    public ResultResponse send(
            @RequestBody RabbitMqParam rabbitMqParam
    );
}
